Skip to content

Conversation

mhmdAmin
Copy link

Changing the slider arg key 'output_units' to 'output_unit'
as I am working on ver 4.5.7,In the slider feild docs page I found a little typo in the argument [ output_units ] it should be [ output_unit ] without the s

When I use :
'output_units' => 'rem'
The output unit defaults to 'px'

while using 'output_unit' => 'rem'
The output unit will be 'rem' as I set it

Changing the slider arg key 'output_units'  to 'output_unit'
as I am working on ver 4.5.7,In the slider feild docs page I found a little typo in the   argument [ output_units ] it should be [ output_unit ] without the s 

When I use : 
'output_units'   => 'rem'
The output unit defaults to 'px'

while using 'output_unit'   => 'rem'
The output unit will be  'rem' as I set it
@mhmdAmin mhmdAmin changed the title Update slider.md Update on the slider docs page.md Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant